Do not avoid creating empty evaporating overlays (Bug#9642).
authorTroels Nielsen <bn.troels@gmail.com>
Tue, 29 May 2012 16:13:38 +0000 (09:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 May 2012 16:13:38 +0000 (09:13 -0700)
commitb237f94510b4e3acc6c1a2b9aa4b6f1561321cfb
tree079934d91f874b0663b9200d315e6990ccf1c7e0
parent6382d20b094d6894651a850709f088bbe13049ef
Do not avoid creating empty evaporating overlays (Bug#9642).

* buffer.c (Fmove_overlay): Reinstate the earlier fix for
Bug#9642, but explicitly check that the buffer the overlay would
be moved to is live and rearrange lines to make sure that errors
will not put the overlay in an inconsistent state.
(Fdelete_overlay): Cosmetics.
src/ChangeLog
src/buffer.c